package ru.spbau.krasko.phonelock.utils;

import net.rim.device.api.system.Display;

public class Constants {
	public static final int SCREEN_H = Display.getHeight();
	public static final int SCREEN_W = Display.getWidth();
	public static final boolean IS_FULL_VERSION = true;

	public static Object getAppName() {
		if(IS_FULL_VERSION) {
			return "Phone lock";
		} else {
			return "Phone lock (free)";
		}
	}
	
	public static String getHelp() {
		if (IS_FULL_VERSION)
			return "You can add any app to lock screen"
					+ " by running it first, then switching to this settings screen,"
					+ " selecting the app and pressing the addition button. Requirement"
					+ " to run app is a technical limitation.\n\nTry proxomity sensor feature,"
					+ " it can be useful."
					;
		else
			return "You can add any app to lock screen"
					+ " by running it first, then switching to this settings screen,"
					+ " selecting the app and pressing the addition button. Requirement"
					+ " to run app is a technical limitation.\n\nMore features are available in"
					+ " full version:\n"
					+ " -capturing 'mute' button presses\n"
					+ " -auto-lock on slider close\n"
					+ " -proximity sensor for more protection\n"
					+ " -showing date, time, battery level on lock screen\n"
					+ " -auto-run on startup\n"
					;
	}
}
